import { axios } from '~/plugins/axios';

// 机构列表
export const getList = (params?: any) => axios({
  method: 'get',
  url: '/org/orgList',
  params,
}) as Promise<any>;

// 机构列表 - 删除
export const deleteItem = (params: any) => axios({
  method: 'delete',
  url: `/org/${params as string}`,
}) as Promise<any>;
